feat(dependabot): Add Dependabot configuration#28
Conversation
hostcc
commented
Dec 20, 2025
- Added Dependabot configuration file to automate dependency updates for the 'esphome' package.
- ESPHome doesn't allow Python 3.14 which Dependabot attempts to use - constrain the Python version correspondingly.
* Added Dependabot configuration file to automate dependency updates for the 'esphome' package. * ESPHome doesn't allow Python 3.14 which Dependabot attempts to use - constrain the Python version correspondingly.
There was a problem hiding this comment.
Pull request overview
This PR adds Dependabot configuration to automate dependency updates for the ESPHome-based irrigation controller project. The changes introduce a Dependabot configuration file and a minimal pyproject.toml to constrain the Python version used by Dependabot.
Key changes:
- Added Dependabot configuration for daily automated updates of the
esphomepackage - Introduced Python version constraint (>=3.11.0,<3.14) to prevent Dependabot from using Python 3.14
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
.github/dependabot.yml |
Configures Dependabot for daily pip dependency updates with esphome-only updates, custom commit prefixes, and PR limits |
pyproject.toml |
Adds Python version constraint to prevent Dependabot from attempting to use Python 3.14 with ESPHome |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| schedule: | ||
| interval: "daily" | ||
| allow: | ||
| - dependency-name: "esphome" |
There was a problem hiding this comment.
The allow configuration restricts Dependabot to only update the "esphome" package, meaning "pillow" (also present in requirements.txt) will not receive automated updates. If this is intentional and pillow should be manually managed, consider adding a comment explaining why. If pillow should also be updated, either remove the allow section entirely or add pillow to the allowed dependencies list.
| - dependency-name: "esphome" | |
| - dependency-name: "esphome" | |
| - dependency-name: "pillow" |
| @@ -0,0 +1,4 @@ | |||
| [project] | |||
There was a problem hiding this comment.
According to PEP 621, the [project] table requires a name field. While some tools may tolerate its absence, this incomplete configuration could cause issues with pip or other Python packaging tools. Consider either adding a minimal project name (e.g., name = "esphome-config-sprinkler") or using a different approach to constrain Python versions for Dependabot, such as configuring it directly in the Dependabot configuration file or using a minimal setup.py.
| [project] | |
| [project] | |
| name = "esphome-config-sprinkler" |
|
🎉 This pull request has been included in version 2.1.0 |